* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

@font-face {
    font-family: 'iconfont';
    /* Project id 2527585 */
    src: url('//at.alicdn.com/t/font_2527585_kqhl10ea8da.woff2?t=1624862355080') format('woff2'), url('//at.alicdn.com/t/font_2527585_kqhl10ea8da.woff?t=1624862355080') format('woff'), url('//at.alicdn.com/t/font_2527585_kqhl10ea8da.ttf?t=1624862355080') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: red;
}

a {
    font-size: 12px;
    color: #666;
}

a:hover {
    color: red;
}

.clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

// 导航
nav {
    width: 100%;
    height: 40px;
    background: rgb(245, 245, 245);
    ul {
        line-height: 40px;
        li {
            float: left;
            margin-right: 6px;
            a {
                i {
                    margin: 0 6px;
                }
            }
        }
    }
    .navleft {
        float: left;
        margin-left: 50px;
        width: 400px;
    }
    .navright {
        width: 700px;
        float: right;
    }
}

.box {
    width: 1200px;
    margin: 0 auto;
    main {
        width: 1200px;
        margin: 40px auto;
        padding-top: 20px;
        background: #fff;
        border-radius: 20px;
        position: relative;
        padding-bottom: 40px;
        // 搜索栏
        .search {
            display: flex;
            justify-content: space-around;
            .taobao {
                p {
                    font-size: 40px;
                    color: orangered;
                }
                p:nth-of-type(2) {
                    font-size: 24px;
                    color: orangered;
                    font-weight: bold;
                }
            }
            .searched {
                p {
                    font-size: 12px;
                    border: 1px solid orangered;
                    border-radius: 20px;
                    width: 800px;
                    height: 40px;
                    line-height: 40px;
                    text-indent: 25px;
                    input {
                        width: 600px;
                        height: 30px;
                        font-size: 14px;
                        border: none;
                        text-indent: 30px;
                        border-left: 1px solid #ccc;
                    }
                    #btn {
                        width: 80px;
                        height: 30px;
                        font-size: 16px;
                        color: #fff;
                        border: none;
                        border-radius: 20px;
                        background: rgb(253, 98, 41);
                        text-indent: 0;
                        margin-left: 20px;
                    }
                }
                .searchli {
                    margin-top: 10px;
                    display: flex;
                    li {
                        margin-left: 16px;
                        font-size: 12px;
                    }
                }
            }
            .bag {
                width: 80px;
                height: 80px;
                border: 1px solid red;
                p {
                    color: red;
                    font-size: 12px;
                    text-align: center;
                }
                img {
                    width: 60px;
                    height: 60px;
                    margin-left: 10px;
                }
            }
        }
        // 左侧导航
        aside {
            margin-top: 10px;
            .asideul {
                display: flex;
                >li {
                    margin-left: 20px;
                    height: 40px;
                    font-size: 14px;
                    font-weight: 100;
                }
                .title {
                    width: 200px;
                    text-indent: -10px;
                    text-align: center;
                    color: orangered;
                    font-weight: 500;
                    font-size: 16px;
                    margin-right: 40px;
                    ul {
                        li {
                            text-indent: 10px;
                            text-align: left;
                            color: #666;
                            position: relative;
                            margin-top: 12px;
                            i {
                                font-size: 12px;
                                position: absolute;
                                right: 0;
                                top: 4px;
                            }
                        }
                    }
                }
                li:nth-of-type(2),
                li:nth-of-type(3) {
                    color: rgb(255, 0, 76);
                    font-weight: 500;
                    font-size: 16px;
                }
                li:nth-of-type(4) {
                    color: rgb(5, 199, 5);
                    font-weight: 500;
                    font-size: 16px;
                }
            }
        }
        // 中间轮播
        .middle {
            position: absolute;
            top: 150px;
            left: 260px;
            .bigswiper {
                img {
                    width: 600px;
                    height: 200px;
                }
            }
            .text {
                font-size: 12px;
                color: #777;
                span {
                    font-size: 16px;
                    color: rgb(250, 0, 217);
                    margin-right: 10px;
                }
            }
            .smallswiper {
                width: 600px;
                height: 260px;
                display: flex;
                img {
                    width: 298px;
                    height: 260px;
                    border-radius: 10px;
                }
            }
        }
        // 右边
        .mainright {
            width: 300px;
            float: right;
            margin-right: 18px;
            .top {
                width: 300px;
                li {
                    text-align: center;
                    font-size: 16px;
                    margin-top: 6px;
                    button {
                        color: #fff;
                        background: orangered;
                        padding: 4px 30px;
                        border: none;
                        border-radius: 6px;
                    }
                    img {
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        margin: 0 auto;
                    }
                }
                img {
                    width: 300px;
                }
                .glod {
                    font-size: 14px;
                    color: orangered;
                    margin-bottom: 10px;
                    span {
                        border-radius: 20px;
                        background: rgb(255, 228, 219);
                        padding: 4px 10px;
                    }
                }
            }
            .rightnav {
                margin-top: 4px;
                ul {
                    display: flex;
                    justify-content: space-evenly;
                    li {
                        padding: 0 10px;
                    }
                    .underline {
                        border-bottom: 2px solid orangered;
                    }
                }
                p {
                    margin: 10px 0;
                    span {
                        color: orangered;
                        margin-right: 18px;
                    }
                }
            }
            .tab {
                ul {
                    display: flex;
                    margin-left: 2px;
                    i {
                        margin-top: 16px;
                        margin-bottom: 8px;
                        display: block;
                    }
                    li {
                        width: 70px;
                        height: 70px;
                        font-size: 14px;
                        font-weight: 100;
                        text-align: center;
                        border: 1px solid #ccc;
                    }
                    li:hover {
                        color: red;
                        cursor: pointer;
                    }
                }
                .kuang {
                    border: 1px solid red;
                    p {
                        padding: 4px 10px;
                        a {
                            margin-left: 26px;
                        }
                        a:hover {
                            color: red;
                        }
                        select,
                        input {
                            margin-left: 10px;
                            width: 200px;
                            height: 25px;
                        }
                    }
                    .price {
                        margin-left: 10px;
                        font-size: 12px;
                        color: #777;
                        span {
                            font-size: 14px;
                            color: orangered;
                        }
                    }
                    button {
                        color: #fff;
                        padding: 2px 10px;
                        background: orangered;
                        margin-left: 20px;
                        border: none;
                        margin-bottom: 10px;
                    }
                }
            }
        }
        // 有好货
        .goodshop {
            margin-top: 20px;
            margin-left: 30px;
            h1 {
                font-size: 18px;
                font-weight: normal;
                span {
                    font-size: 14px;
                    color: #fff;
                    background: rgb(13, 155, 242);
                    padding: 2px 4px;
                    margin-left: 10px;
                }
            }
            .goodshopbox {
                display: flex;
                justify-content: space-around;
                li {
                    width: 190px;
                    font-size: 14px;
                    color: #000;
                    img {
                        width: 180px;
                        height: 180px;
                        border-radius: 10px;
                        margin: 20px auto;
                    }
                }
                li:last-of-type {
                    font-size: 12px;
                    color: #666;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }
            .goodshoppic {
                display: flex;
                justify-content: space-evenly;
                margin-top: 20px;
                img {
                    width: 360px;
                    height: 100px;
                    border-radius: 10px;
                }
            }
        }
    }
}